# $Id: PKGBUILD 184158 2013-05-03 01:15:55Z eric $
# Maintainer:

pkgname=perl-log-log4perl
pkgver=1.41
pkgrel=1
pkgdesc='Log4j implementation for Perl'
arch=(any)
license=(PerlArtistic GPL)
options=(!emptydirs)
depends=(perl)
url=https://metacpan.org/release/Log-Log4perl
source=("http://search.cpan.org/CPAN/authors/id/M/MS/MSCHILLI/Log-Log4perl-$pkgver.tar.gz")
md5sums=('cc98e486abd222e573dae82dca6d2f3e')

build() {
  cd Log-Log4perl-$pkgver
  perl Makefile.PL INSTALLDIRS=vendor
  make
}

check() {
  cd Log-Log4perl-$pkgver
  make test
}

package() {
  cd Log-Log4perl-$pkgver
  make DESTDIR="$pkgdir" install
}
